const state={
device:'mobile'
}
const mutations={
SET_DEVICE(state,device){
  state.device=device
}
}
const actions={
  set_device({commit},device){
    commit('SET_DEVICE',device)
  }
}
export default {
  namespaced:true,
  state,
  mutations,
  actions
}
